package com.mark.mall.web.platform.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author admin
 * Created on 2021/3/3 14:54
 */
@Data
@ApiModel("前台会员登录")
public class MemberLoginParam {
    @ApiModelProperty(value = "用户名")
    @NotEmpty(message = "用户名不能为空！")
    private String name;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空！")
    private String password;

}
